Skip to main content
Version: 10.x

Type alias: CreateTRPCProxyClient<TRouter>

CreateTRPCProxyClient: <TRouter> inferRouterProxyClient< TRouter > extends infer $ProcedureRecord ? UntypedClientProperties & keyof $ProcedureRecordextendsnever ? inferRouterProxyClient< TRouter> :IntersectionError< UntypedClientProperties& keyof$ProcedureRecord> :never

Creates a proxy client and shows type errors if you have query names that collide with built-in properties

Type parameters

Parameter
TRouter extends AnyRouter

Source

packages/client/src/createTRPCClientProxy.ts:98


Generated using TypeDoc and typedoc-plugin-markdown